/*
 * Shell.h
 *
 *  Created on: May 11, 2012
 *      Author: pleun
 */

#ifndef SHELL_H_
#define SHELL_H_

#include "List.h"
#include "Token.h"
#include <iostream>

using namespace std;

class Shell {
private:
	List* list;
	Token* token;
	Commandline* command;


public:
	Shell();
	virtual ~Shell();

	void parseInput();
	void parseList();
	void parsePipeline();
	void parseCommandline();
	void print();

	void executeAll();
};

#endif /* SHELL_H_ */
